import logging
from faker import Faker
logging.basicConfig(level=logging.INFO)

class Create_Date(object):
    def __init__(self):
        self.FK = Faker('zh_CN')

    def create_phonenum(self):
        a = 0
        while a<5:
            b = self.FK.phone_number()
            print(b)
            a = a + 1
            logging.info("================="+b)


if __name__ == '__main__':
    date = Create_Date()
    date.create_phonenum()

